<?php
// +----------------------------------------------------------------------
// | @filename server.php
// +----------------------------------------------------------------------
// | @author 落花轻舞问君愁 <mwcx1990@qq.com>
// +----------------------------------------------------------------------
// | @datetime 2020-03-02 17:08
// +----------------------------------------------------------------------
// | @Description
// +----------------------------------------------------------------------

namespace Server;


namespace Server;
require "../vendor/autoload.php";
$config = require_once "config.php";

use Websocket\websocket;

date_default_timezone_set("PRC");
$websocket = new websocket($config['address'], $config['port']);
$websocket->start();